package com.eyas.business.model.jdbcEntity.table;


import com.eyas.core.annotation.*;

/**
 * @Auther: 王龙龙
 * @Date: 2019/2/27 15:56
 * @Description:
 */
@Table("roleinfo")
public class RoleInfo {
    @PrimaryKey(value = "roleid",columnType = ColumnType.INT,columnSize = 8,IsNull = false,inrementType = IncrementType.AUTOINCREMENT)
    private Integer roleid;
    @Column(column = "rolename",columnType = ColumnType.STRING,IsNull = false,columnSize = 50)
    private String rolename;
    @Column(column = "description",columnType = ColumnType.STRING,IsNull = true,columnSize = 200)
    private String description;
    @Column(column = "validflag",columnType = ColumnType.STRING,IsNull = true,columnSize = 1)
    private String validflag;

    public Integer getRoleid() {
        return roleid;
    }

    public void setRoleid(Integer roleid) {
        this.roleid = roleid;
    }

    public String getRolename() {
        return rolename;
    }

    public void setRolename(String rolename) {
        this.rolename = rolename;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getValidflag() {
        return validflag;
    }

    public void setValidflag(String validflag) {
        this.validflag = validflag;
    }
}
